import request from '@/utils/request'

// 查询集中器统计列表
export function listJzqtj(query) {
  return request({
    url: '/kzgl/jzqtj/list',
    method: 'get',
    params: query
  })
}

// 查询集中器统计详细
export function getJzqtj(ID) {
  return request({
    url: '/kzgl/jzqtj/' + ID,
    method: 'get'
  })
}

// 新增集中器统计
export function addJzqtj(data) {
  return request({
    url: '/kzgl/jzqtj',
    method: 'post',
    data: data
  })
}

// 修改集中器统计
export function updateJzqtj(data) {
  return request({
    url: '/kzgl/jzqtj',
    method: 'put',
    data: data
  })
}

// 删除集中器统计
export function delJzqtj(ID) {
  return request({
    url: '/kzgl/jzqtj/' + ID,
    method: 'delete'
  })
}
